def print_hello(name):
    print("hello , this is method of support ",name)
    return


# 斐波那契(fibonacci)数列模块

def fib(n):    # 定义到 n 的斐波那契数列
    print('support fib method')
    a, b = 0, 1
    while b < n:
        print(b, end=' ')
        a, b = b, a+b
    print()
    if __name__ == '__main__':
        print('fib 程序自身在运行')
    else:
        print('fib 我来自另一个模块')


def fib2(n): # 返回到 n 的斐波那契数列
    print('support fib2 method')
    result = []
    a, b = 0, 1
    while b < n:
        result.append(b)
        a, b = b, a+b
    print(result)
    if __name__ == '__main__':
        print('fib2 程序自身在运行')
    else:
        print('fib2 我来自另一个模块')
    return result